<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>My Virtual Library</title>
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />

</head>

<body>

<div id="wrapper">
<h1><em>MyVirtual</em> Library</h1>
<jsp:include page="header.jsp" />
<div id="topcon">
<div id="topcon-inner">
<h2>Welcome to My Virtual Library</h2>
<p><jsp:include page="description.jsp" /></p>
</div>
</div>
</div>

<div id="content">
<div id="body">
<div class="right">
<p><strong>All Books In My Virtual Library</strong></p>
<br />
<s:actionerror />
	<s:form action="SaveBook.action" method="POST">
	<table>
		<s:hidden name="item.copyId" />
		<s:hidden name="item.type" />
		<s:hidden name="item.lastChanged" />
		<s:hidden name="item.timeAdded" />
		<s:hidden name="item.userId" />
		<tr>
			<td>
				<s:textfield name="item.title" label="Title:" >
				<s:param name="item.title"></s:param>
				</s:textfield>
			</td>
		</tr>
		<tr>
			
			<td>
				<s:textfield name="item.location" label="Location:" >
				<s:param name="item.location"></s:param>
				</s:textfield>
			</td>
		</tr>
		<tr>
			
			<td>
				<s:select name="item.copyStatus" label="Status" list="cpyStatus">
				</s:select>
			</td>
		</tr>
		<tr>
			
			<td>
				<s:select name="item.visible" list="visibility" label="Visibility:">
				</s:select>
			</td>
		</tr>
		<tr>
			<td colspan="2">
			<s:submit value="Save Item" name="save" align="left"/>
			</td>
		</tr>
	</table>
	</s:form>
</div>

<div class="clear"></div>
</div>
<jsp:include page="footer.html" /></div>
</body>
</html>